<?
require_once '../home/config.php';
$law = '.thumbnail a';
$link = 'http://www.vietnamplus.vn/doisong/suckhoe.vnp';
$html = curl_get_content($link);
$html = str_get_html($html);
foreach($html->find($law) as $href){
    echo $href->href . '<br>';
}
